// 待遇参数管理管理
export const basicThead = [
  {
    type: 'selection',
    align: 'center',
    width: 60
  },
  {
    title: '参保险种',
    key: 'insuredTypeName'
  },
  {
    title: '待遇名称',
    key: 'treatmentName'
  },
  {
    title: '是否区分城市',
    key: 'whetherDistinguishCitie',
    render: (h, params) => {
      const text = params.row.whetherDifferentiateCities == 1 ? '是' : '否'
      return h('span', text)
    }
  },
  {
    title: '状态',
    key: 'Status',
    render: (h, params) => {
      const text = params.row.status == 0 ? '启用' : '禁用'
      return h('span', text)
    }
  },
  {
    title: '操作',
    width: 280,
    align: 'center',
    key: 'action',
    slot: 'action'
  }
]

// 附件
export const attachmentsThead = [
  {
    type: 'selection',
    align: 'center',
    width: 60
  },
  {
    title: '所在城市',
    key: 'areaFullName'
  },
  {
    title: '附件',
    align: 'center',
    key: 'action',
    slot: 'action'
  }
]